@import "./public.scss";
:root {
  --color-background: #ffffff;
  --color-background-secondary: #f6f8fa;
  --color-background-rgb: 255, 255, 255;
  --color-text: #33333D;
  --color-text-secondary: #4e4e4e;
  --color-text-third: #999999;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-mode: 'dark';
  }
  :root:not([color-mode]) {
    --color-background: #1e2128;
    --color-background-secondary: #1a1d22;
    --color-background-rgb: 30, 33, 40;
    --color-text: #dddddd;
    --color-text-secondary: #9899ab;
    --color-text-third: #7d8594;
  }
}
[color-mode='dark'] {
  --color-background: #1e2128;
  --color-background-secondary: #1a1d22;
  --color-background-rgb: 30, 33, 40;
  --color-text: #dddddd;
  --color-text-secondary: #9899ab;
  --color-text-third: #7d8594;
}



::-webkit-scrollbar,
::-webkit-scrollbar-track {
  width: 6px;
  height: 6px;
  background-color: var(--color-background);
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-text);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-text);
}
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
  transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}




.zui-message {
  position: fixed;
  margin: 0;
  padding: 10px 20px;
  top: 0px;
  left: 50%;
  min-width: 250px;
  overflow: hidden;
  z-index: 2020;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50px);
  transition: opacity 0.3s, transform 0.4s, top 0.4s;
  background-color: #edf2fc;
}

.lazyload {
  background: url("/src/assets/img/loading.gif") no-repeat center;
}
.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: url("/src/assets/img/loading.gif") no-repeat center;
  background-color: var(--color-background);
  z-index: 2019;
  overflow: hidden;
}

.footer {
  max-width: 576px;
  margin: 0 auto;
  border-top: 1px solid #eee;
  margin-top: 90px;
  padding: 30px 0;
}
.footer .footer-social {
  text-align: center;
  margin-bottom: 20px;
}
.footer .footer-social .footer-social-item {
  font-size: 1.7em;
  margin: 0 5px;
}
.footer .footer-copyright {
  text-align: center;
}
.header {
  // margin: 100px auto;
  text-align: center;
  margin-top: 65px;
  margin-bottom: 25px;
}
.header .header-title {
  font-size: 2rem;
  color: var(--color-text);
}
.header .header-subtitle {
  font-size: 1rem;
  padding-top: 25px;
}


.navbar .qrcode {
  position: absolute;
  display: none;
  z-index: 10;
  top: 70px;
  left: 15px;
  padding: 15px;
  border: 1px solid #eee;
  background-color: var(--color-background);
}
.navbar .qrcode img {
  width: 150px;
  height: 150px;
}


.preview .navbar-menu{
  right: 15px;
}
.preview .navbar-hei{
  right: 65px;
}

.preview .navbar .iconfont {
  font-size: 18px;
  color: #fff;
}
.preview .preview-image {
  z-index: 40;
  height: 90vh;
  width: 100%;
  background-image: url("/src/assets/img/welcome-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  // background-attachment: fixed;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}
.preview .preview-image .preview-motto,
.preview .preview-image .preview-cursor {
  text-align: center;
  font-size: 3em;
  padding: 1em;
  font-family: 'Quicksand', 'Vollkorn', serif;
  font-weight: 300;
  color: #fff;
  margin: 0;
}
@media (max-width: 768px) {
  .preview .preview-image .preview-motto,
  .preview .preview-image .preview-cursor {
    font-size: 2em;
  }
}
.preview .preview-image .preview-cursor {
  opacity: 1;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-name: blink;
}
.preview .preview-image .preview-overlay {
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 50;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}


.post .post-item .post-wrap .post-content .post-excerpt {
  // height: 80px;
}

.article .wrap {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 70px;
  box-shadow: 0 5px 40px -1px rgba(2,10,18,0.11);
}

.article .wrap .main .content p code,
.article .wrap .main .content li code {
  font-size: 1em;
  background-color: var(--color-background-secondary);
  padding: 2px 5px;
  border-radius: 2px;
  color: #FF3B00;
}
.article .wrap .main .content a {
  text-decoration: underline;
}
.article .wrap .main .content .no-underline {
  text-decoration: none;
}

.loading-my{
  margin: auto;
  width: 100px;
  padding-top: 20%;
  height: 100vh;
  z-index:200;
}






